#ifndef PETS_HPP
#define PETS_HPP

#include <iostream>

using namespace std;

class Pet {
   public:
    void eat() {
        cout << "This pet is eating." << endl;
        return;
    }
    void sleep() {
        cout << "This pet is sleeping." << endl;
        return;
    }
};

class Dog : public Pet {
   public:
    void bark() {
        cout << "This dog is barking." << endl;
        return;
    }
};

class Cat : public Pet {
   public:
    void climb() {
        cout << "This cat is climbing." << endl;
        return;
    }
};

#endif